import request from '@/utils/request'

// 测试接口-获取时间
export function clientTime (time){
  return request({
    url: `/client/index/${time}`,
    method: 'get'
  })
}

// 首页地图场站列表
export function stationInfoList() {
    return request({
      //url: '/business/station/list',
      url: '/business/station/all/list',
      method: 'get'
    })
}
// 首页地图场站详情
export function stationInfo(stationId) {
    return request({
      url: '/business/station/info/'+stationId,
      method: 'get'
    })
}
// export function register(data) {
//     return request({
//       url: '/register',
//       headers: {
//         isToken: false
//       },
//       method: 'post',
//       data: data
//     })
//   }
